#ifndef __SERVO_H__
#define __SERVO_H__

#include <avr/io.h>
/*
 * ----------------------------------------------------------------------------
 * "THE BEER-WARE LICENSE" (Revision 42):
 * <joerg@FreeBSD.ORG> wrote this file.  As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return.        Joerg Wunsch
 * ----------------------------------------------------------------------------
 *
 * Servo demo, servo declarations
 *
 * $Id: servo.h,v 1.1.2.1 2005/12/28 22:35:08 ron Desmarais Exp $
 */

#define servo_left 600
#define servo_left_center 850
#define servo_center 1100
#define servo_right_center 1350
#define servo_right 1600

void init_servo(int m);

void servo_setDutyCycleA( int dutyCycle );

void servo_setDutyCycleB( int dutyCycle );

void servo_setDutyCycleC( int dutyCycle );

#endif
